-
Home
-
Defender Security – Malware Scanner, Login Security & Firewall
-
2.6.3
-
Code
-
Classes
- User_Agent
| Total Complexity |
27 |
| Dependencies |
2 |
| Dependents |
3 |
| Total lines |
184 |
| Lines of code |
96 |
| Logical lines of code |
60 |
| Comment lines |
62 |
| Methods |
11 |
| Properties |
1 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| verify_import_file() |
S |
53 |
5 |
22 |
| is_bad_user_agent() |
S |
61 |
5 |
13 |
| log_event() |
S |
55 |
3 |
21 |
| is_bad_post() |
S |
69 |
4 |
6 |
| is_active_component() |
S |
79 |
2 |
3 |
| get_message() |
S |
73 |
2 |
5 |
| sanitize_user_agent() |
S |
65 |
2 |
9 |
| __construct() |
S |
78 |
1 |
3 |
| extra_cleaning() |
S |
66 |
1 |
8 |
| add_hooks() |
S |
98 |
1 |
1 |
| block_user_agent_or_ip() |
S |
72 |
1 |
5 |